package com.example.demo.breakrulemanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="breakRuleMapper")
public interface BreakRuleMapper {
    int saveBreakRuleMapper(Map<String, Object> param);

    int updateSjBrFlagMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllBreakRule(Map<String, Object> param);

    int editBreakRuleMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllBreakRuleBySjNo(Map<String, Object> param);

    int updateSjBrFlag(Map<String, Object> param);

    int delBreakRuleMapper(Map<String, Object> param);
}
